import {getModuleProps} from "@/common/js/utils.js";
import Vue from "vue";
import Vuex from "vuex";
Vue.use(Vuex);
import state from "./state.js";
import mutations from "./mutations.js";
const store = new Vuex.Store({
	state,
	mutations,
	modules:{
		...getModuleProps(require.context('./modules', false, /\.js$/), 'js')
	},
})

export default store